package com.gxar.quick.ar.server.base.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/20 16:44
 */
@Data
@Component
@ConfigurationProperties(prefix = "thread.pool")
@RefreshScope
public class ThreadPoolProperties {

    private Integer corePoolSize;
    private Integer maxPoolSize;
    private Integer queueCapacity;
    private Integer keepAliveSeconds;
}
